#
# gopherd.conf,v 3.5 1993/04/15 21:57:26 lindner Exp
#

#
# An example gopherd.conf file
#

#
# Hostalias line,
#
#  format is:
#
#  "hostalias: <hostname alias>"
#hostalias: gopher.turnip.com

#
# Administrator line,
#
# format is:
# "Admin:" <any text thing, usually a name/phone fax,etc>
#
# "AdminEmail:" <RFC-822 Email address>

Admin: Bob Bagel, Turnip Gopher support 1-800-555-1212 
AdminEmail: gopher@turnip.com

#
# Site
#
#Site: the name of the site
#Org: organization or group owning the site
#Loc: city, state, country
#Geog: latitude longitude
#Language: default language of items on the server
#TZ: timezone as gmt-offset

Site: Turnip Research and Development labs
Org: Turnip Incorporated
Loc: Minneapolis, MN, USA
Geog: 44 58 48 N 93 15 49 W
Language: En_US
#TZ: -6
#
# Map filename extensions to gopher-types
#
# Format is 
# "viewext: <extension> <gophertype> <pfx> <gopher+type> [ISO langauge]
#

# Different Languages
#
# The following will probably be text/plain soon
#
viewext: .txt.spanish 0 0 Text Es_ES
viewext: .txt.german 0 0 Text De_DE
viewext: .txt.french 0 0 Text Fr_FR

viewext: .hqx 4 0 file/hqx

#
# Telnet file formats
#
viewext: .telnet 8 0 terminal/telnet
viewext: .tn3270 T 0 terminal/tn3270

#
# Graphics file formats
#
viewext: .gif I 9 image/gif
viewext: .tiff I 9 image/TIFF
viewext: .jpg I 9 image/JPEG

#
# These are not IANA approved
#
viewext: .pcx I 9 image/pcx
viewext: .pict I 9 image/PICT
viewext: .ppm I 9 image/ppm
viewext: .pgm I 9 image/pgm
viewext: .pbm I 9 image/pgm
#
# Sounds
#
viewext: .au s s audio/mulaw
viewext: .snd s s audio/mulaw
viewext: .wav s s audio/wave

#
# Movies (only mpeg works for IANA
#
viewext: .mov 9 9 video/quicktime
viewext: .mpg 9 9 video/mpeg

#
# Binary files, these need changing for the encoding method
# plus they'll probably become application/octet-stream
#
viewext: .tar.Z 9 9 file/tar.Z
viewext: .tar 9 9 file/tar
viewext: .zip 5 9 file/PKzip
viewext: .zoo 5 9 file/Zoo
viewext: .arc 5 9 file/Arc
viewext: .lzh 5 9 file/Lharc
viewext: .exe 5 9 file/PCEXE
viewext: .mcb 9 9 file/MacBinary
viewext: .uu 9 9 file/uuencode

#
# Various forms of text
#

#
# This should be application/postscript
#
viewext: .ps 0 0 Text/postscript
viewext: .tex 0 0 Text/tex
viewext: .dvi 0 9 Text/dvi
viewext: .troff 0 0 Text/troff
viewext: .unicode 0 0 Text/unicode
viewext: .sjis 0 0 Text/sjis
viewext: .jis 0 0 Text/jis
viewext: .euc 0 0 Text/jis
viewext: .big5 0 0 Text/big-5
viewext: .rtf 0 0 Text/rtf
viewext: .word5 0 0 Text/MSWord5
viewext: .word4 0 0 Text/MSWord4
viewext: .mw 0 0 Text/MacWrite
viewext: .wp 0 0 Text/WordPerfect51
viewext: .rch 0 0 Text/richtext

viewext: .smell 9 9 smell/funky

#
#
viewext: .mindex 7 mindex: Directory
viewext: .src 7 waissrc: Directory
viewext: .html h GET /h application/WWW



#
# These are for the experimental gview
#
viewext: .gview 1 1 Directory+/gview
blockext: .spot GVIEWSPOT

#
# Map files to certain blocks
# 

blockext: .abstract ABSTRACT
blockext: .ask ASK

#
# Find out what a file is by looking at the contents
# (Not implemented yet...)
#
#magic 0 GIF 9 I Gif
#magic 0 snd s s audio/mulaw

#
# Note that mail spool files are still done by the server
#

#
# Trash we never want to see (Note that it checks from the end)
# so you can ignore anything with a certain extension.
# (like emacs backup files)
#
ignore: lost+found
ignore: lib
ignore: bin
ignore: core
ignore: tmp
ignore: etc
ignore: usr
ignore: dev
ignore: ~
ignore: .cache
ignore: .cache+

#
#
# BummerMsg is a message that is displayed when there isn't proper
# access..
#
BummerMsg: Sorry Dude, we don't allow off-site access to this server

#
#  Note that the default "default" entry is free access
#  Also note that the values you put for an entry modify the "default" values
# 
#access: default         !browse,!read,search

#
# The secureusers: specifies a ticket file to use for ADMIT1 authentication
#
#secureusers: /usr/local/etc/gopherusers
